//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Resource Application Block
//===============================================================================

using EntLibContrib.Resource;
#if !NUNIT
using Microsoft.VisualStudio.TestTools.UnitTesting;
#else
using NUnit.Framework;
using TestClass = NUnit.Framework.TestFixtureAttribute;
using TestInitialize = NUnit.Framework.SetUpAttribute;
using TestCleanup = NUnit.Framework.TearDownAttribute;
using TestMethod = NUnit.Framework.TestAttribute;
#endif


namespace EntLibContrib.Resource.Tests
{
	[TestClass]
	public class ResourceFactoryFixture
	{
		[TestMethod]
		public void GetDefaultResourceManagerTest ()
		{
			ResourceManager resourceManager = ResourceFactory.GetResourceManager();
			Assert.IsNotNull(resourceManager);
		}

		[TestMethod]
		public void GetResourceManagerTest ()
		{
			ResourceManager resourceManager = ResourceFactory.GetResourceManager("Assembly Resource Manager");
			Assert.IsNotNull(resourceManager);
		}
	}
}